WCPay\WooPay_Tracker B

Total Complexity 77
Dependencies 7
Dependents 2
Total lines 624
Lines of code 343
Logical lines of code 172
Comment lines 178
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
should_enable_tracking()
A
47 14 34
tracks_record_event()
A
50 9 28
tracks_build_event_obj()
S
49 6 29
ajax_tracks()
S
52 6 25
tracks_get_identity()
S
52 5 27
bump_stats()
S
54 5 23
checkout_order_processed()
S
57 4 15
maybe_record_wcpay_shopper_event()
S
55 3 21
woopay_locations_updated()
S
61 3 12
add_frontend_tracks_scripts()
S
55 2 21
thank_you_page_view()
S
68 3 7
is_country_tracks_eligible()
S
67 3 7
__construct()
S
55 1 18
maybe_record_admin_event()
S
68 2 7
maybe_record_event()
S
70 2 6
ajax_tracks_id()
S
72 2 6
classic_cart_page_view()
S
69 1 8
blocks_cart_page_view()
S
69 1 8
classic_product_page_view()
S
69 1 8
pay_for_order_page_view()
S
76 1 5
blocks_checkout_start()
S
65 1 10
must_save_payment_method_to_platform()
S
69 1 8
classic_checkout_start()
S
65 1 10